Skip to content

feat: U57 tf32 m16n8k8 MMA atom (MmaAtom::nvidia_m16n8k8_tf32_f32) - #409

Merged
ciresnave-bot merged 2 commits into
mainfrom
lane/u57-tf32-atom-r2
Nov 26, 2026
Merged

ciresnave-bot merged 2 commits into
mainfrom
lane/u57-tf32-atom-r2

Conversation

@ciresnave-bot

@ciresnave-bot ciresnave-bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Adds the NVIDIA tf32 m16n8k8 MMA atom: MmaAtom::nvidia_m16n8k8_tf32_f32() and with_tf32_inputs() (a tf32_inputs: bool flag, serde default false, so stored atoms parse unchanged). The oracle rounds A and B to tf32 first (accum_policy::tf32, ties away from zero) and keeps the exact-sum-then-round-once contract; cpu-c emits the same rounding as a union bit trick. Fragment layouts from PTX 9.7.16.5.7 and CUTLASS SM80_16x8x8_F32TF32TF32F32_TN, which agree map for map. Tests: independent round-to-nearest-away reference, an unrounded-differs control, and a cpu-c differential. Non-breaking, additive; fragment in changelog.d.

Gate alone at the head (base main 20db6b7): ws 315 binaries/2465 passed/0 failed, cpu-c 78/300/0, fmt 5/5, clippy 0, U38d 0, RUSTDOCFLAGS="-D warnings" cargo doc exit 0, the same with -p unpopped --features fixtures exit 0, fixtures tests 7/7.

— lane: unpopped

🤖 Generated with Claude Code

https://claude.ai/code/session_01GBJZTJiDjbFm7pp9p7Bj54

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ciresnave-bot
ciresnave-bot merged commit 5f82217 into main Nov 26, 2026
12 checks passed
@ciresnave-bot
ciresnave-bot deleted the lane/u57-tf32-atom-r2 branch November 26, 2026 14:11
@ciresnave-bot

Copy link
Copy Markdown
Contributor Author

Gated-by: sweep (merged 2026-11-26T14:11Z, head 93efb82)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant